﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataProvider
{
    [Serializable]
    public class SageEntity
    {
        public SageEntity()
        {
        }

        //public SageEntity(Version version)
        //{
        //    MajorVersion = version.Major;
        //    MinorVersion = version.Minor;
        //    Build = version.Build;
        //    Revision = version.Revision;
        //}

        [Key]
        public int Id { get; set; }
        public string Namespace { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public bool IsStatic { get; set; }
        public bool IsPublic { get; set; }
        public bool IsProtected { get; set; }
        public bool IsVirtual { get; set; }
        public int VersionId { get; set; }

        public string Assembly { get; set; }
    }
}
